Learn R Programming

bnlearn (version 3.4)

bn.strength class: The bn.strength class structure

Description

The structure of an object of S3 class bn.strength.

Arguments

Details

An object of class bn.strength is a data frame with the following columns (one row for each arc):

and some additional attributes:

  • mode: a character string, the criterion used to compute the strength coefficient. It can be equal totest,scoreorbootstrap.
  • threshold: a numeric value, the threshold used to determine if a strength coefficient is significant.

An optional column called direction may also be present, giving the probability of the direction of an arc given its presence in the graph.

Only the plot method is defined for this class; therefore, it can be manipulated as a standard data frame.